-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #1188, fixes #1201 #1210
fixes #1188, fixes #1201 #1210
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1210 +/- ##
==========================================
- Coverage 91.64% 91.63% -0.01%
==========================================
Files 127 127
Lines 4558 4557 -1
Branches 1503 1502 -1
==========================================
- Hits 4177 4176 -1
Misses 159 159
Partials 222 222
Continue to review full report at Codecov.
|
Found the transition tests 🤦♂️ |
Can't figure out why Travis complains. It should be able to find |
What do you think about putting the Slightly orthogonal to the task at hand, but seems like as good a time as any to make that change now that we're introducing more calls to |
wouldn't sending |
I meant that export function _mount(target, anchor) {
this._fragment.m(target, anchor || null);
} ...and then the generated code could do |
Done as suggested. Sorry about the messy commit structure.. maybe squash and merge when you do. While we are here, |
Nice, thanks. Not sure what's going on with that test failure — could just be an innocent timeout, so have restarted.
Yeah, that's kind of a tricky problem — one that we can kick down the road a bit I think |
please wait before you merge |
ok.. looks ready to merge now 😥
wouldn't something like this in if(this._fragment.o){
this._fragment.o(() => this._fragment.u())
}else{
this._fragment.u()
} |
Thanks so much! Released 1.56.3. Yeah, it might actually be as simple as that. I remember thinking there was a tricky coordination problem because the transitions are happening across 'levels' (i.e. there might be some fun stuff to take into account if you need to re-render the component while it's outroing) but I might be wrong about that. Opened #1211 anyway |
My first foray into svelte internals, so please forgive any stupidities.
I set out to fix #1188 , but managed to fix #1201 for free.
I have updated teh snapshots. However, I couldn't find any tests for transitions.
Let me know if I need to change anything